package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private  String id;//字符串类型的id
    private User user;//订单所属的用户
    private List<Item> items;//订单中包含的商品列表
}
